package com.subsequent.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.subsequent.pojo.Schedules;
import com.subsequent.vo.ScheduleVO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
* @author 19329
* @description 针对表【schedules(医生排班表)】的数据库操作Mapper
* @createDate 2025-05-07 09:48:49
* @Entity com.subsequent.domain.Schedules
*/
public interface SchedulesMapper extends BaseMapper<Schedules> {
    List<ScheduleVO> querySchedules(
            @Param("doctorName") String doctorName,
            @Param("deptId") Integer deptId,
            @Param("status") Integer status,
            @Param("startTime") Date startTime,
            @Param("endTime") Date endTime
    );
    List<ScheduleVO> querySchedules2(
            @Param("doctorId") Integer doctorId,
            @Param("deptId") Integer deptId,
            @Param("status") String status,
            @Param("serviceId") Integer serviceId,
            @Param("startTime") Date startTime,
            @Param("endTime") Date endTime
    );
    int insertBatchSomeColumn(@Param("list") List<Schedules> schedules);
}




